Skip to content

Conversation

@itsmeichigo
Copy link
Contributor

Closes: #8602

Description

This PR continues the migration for the REST API project, this time is for system status endpoints:

  • Updated the mappers for system status and system plugins.
  • Enable REST API for system status endpoints.

Testing instructions

  • Enable the feature flag applicationPasswordAuthenticationForSiteCredentialLogin and build the app.
  • Log out of the app or skip onboarding if needed.
  • On the prologue screen, select Enter your site address and proceed with the address of your self-hosted site.
  • Proceed to log in with your site credentials.
  • After the login succeeds, you should be navigated to the home screen.
  • Navigate to the Menu app and select Settings.
  • Notice on the row "WooCommerce Version", the correct version for Woo on your site should be displayed.
  • Select "Help & Support" > "System Status Report". The report should be loaded and displayed without error.

Screenshots

N/A


  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@itsmeichigo itsmeichigo added type: task An internally driven task. feature: REST API Authenticating requests using application password and using REST API instead of Jetpack tunnel. labels Jan 10, 2023
@itsmeichigo itsmeichigo added this to the 11.9 milestone Jan 10, 2023
@peril-woocommerce
Copy link

Warnings
⚠️ PR has more than 500 lines of code changing. Consider splitting into smaller PRs if possible.

Generated by 🚫 dangerJS

@wpmobilebot
Copy link
Collaborator

wpmobilebot commented Jan 10, 2023

You can test the changes from this Pull Request by:
  • Clicking here or scanning the QR code below to access App Center
  • Then installing the build number pr8604-a9b489b on your iPhone

If you need access to App Center, please ask a maintainer to add you.

@itsmeichigo itsmeichigo modified the milestones: 11.9 ❄️, 12.0 Jan 16, 2023
@jaclync jaclync self-assigned this Jan 16, 2023
Copy link
Contributor

@jaclync jaclync left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - just a question about the mock response but good to go after it's addressed!

@@ -0,0 +1,485 @@
{
"data": {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❓ is this JSON response supposed to have the data envelope?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching! Fixed in a9b489b.

@itsmeichigo itsmeichigo enabled auto-merge January 16, 2023 06:07
@itsmeichigo itsmeichigo merged commit 26893e9 into trunk Jan 16, 2023
@itsmeichigo itsmeichigo deleted the feat/8602-system-status-migration branch January 16, 2023 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: REST API Authenticating requests using application password and using REST API instead of Jetpack tunnel. type: task An internally driven task.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

REST API: Migrate system status endpoints

4 participants